/*
** beep.c
**
** Pictor, Version 1.51, Copyright (c) 1992-94 SoftCircuits
** Redistributed by permission.
*/

#include "pictor.h"

int _PL_errorbeep = TRUE;
int _PL_beepfreq = 880;
int _PL_beeplen = 2;

/*
** Sounds the computer's internal speaker and
** flushes the keyboard buffer.
*/
void beep(void)
{
	if(_PL_errorbeep != FALSE) {
		tone(_PL_beepfreq,_PL_beeplen);
		kbdflush();
	}

} /* beep */
